#ifndef MSG_CORE_H
#define MSG_CORE_H
#include "defines.h"

// core for msg process
bool shell_msg_dispense(DuiWinManager *mgr, DUI_WIN_MSG msg, void* pEvent, int lParam);

// msg manager
void shell_mgr_init(DuiWinManager *mgr);
bool shell_mgr_register(DuiWinManager *mgr);
void shell_mgr_unregister(DuiWinManager *mgr);
bool shell_mgr_find(void *hWin, DuiWinManager **mgr);

// render 
void  shell_mgr_build_render(DuiWinManager *mgr);
void* shell_mgr_check_ui(DuiWinManager *mgr, int x, int y);


#endif